package br.usp.icmc.biomac.client;

import java.util.ArrayList;
import java.util.HashMap;

import br.usp.icmc.biomac.shared.CSVData;
import br.usp.icmc.biomac.shared.CSVSerie;
import br.usp.icmc.biomac.shared.ImageDicom;
import br.usp.icmc.biomac.shared.ROI;
import br.usp.icmc.dilvan.aimTemplateViewer.client.aim.ImageAnnotationAIM;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface Web_padServiceAsync {

	
	void getImages(String serie,
			AsyncCallback<ArrayList<ImageDicom>> asyncCallback);

	void getCSVData(String Parameter, String Value,
			AsyncCallback<ArrayList<CSVData>> asyncCallback);

	void getCSVSerie(String value, AsyncCallback<ArrayList<CSVSerie>> callback);

	void insertROI(int indexImage, ROI roi, AsyncCallback<Boolean> callback);

	void removeROI(int indexImage, int indexROI, AsyncCallback<Boolean> callback);

	void editROI(int indexImage, int indexROI, String label,
			AsyncCallback<Boolean> callback);

	void getAIMContainers(AsyncCallback<HashMap<String, String>> callback);

	void saveAIM(ImageAnnotationAIM imageAnnotationAIM,
			AsyncCallback<String> callback);

}
